Tag: configuration-management

Blog Posts

Let the System Remember: Multiple Git Accounts

Spent an hour last week reverse-engineering my own Git multi-account setup. Two ways to keep work and personal apart. The SSH host-alias version uses made-up hostnames. Push from the wrong account and it dies right away on a name that doesn't resolve. The env-var version is neater and never says a word, which is how my personal email ends up on a work commit. I went with the one that trips me at the door, because I'm the part of this that forgets.